package com.sc.nft.mapper;

import com.sc.nft.entity.UserDaoPerformance;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.dto.TeamUserPerformanceDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户DAO业绩(sc_user_dao_performance)数据Mapper
 *
 * @author zxy
 * @since 2023-12-12 17:26:18
 * @description 商户banner
*/
@Mapper
public interface UserDaoPerformanceMapper extends BaseMapper<UserDaoPerformance> {


    List<TeamUserPerformanceDTO> getDaoSumPerformance(@Param("daoId") Long daoId, @Param("userIds") List<Long> userIds, @Param("startDate") String startDate);
    List<TeamUserPerformanceDTO> getDaoSumCenterPerformance(@Param("daoId") Long daoId, @Param("userIds") List<Long> userIds, @Param("startDate") String startDate);

}
